import { createStore } from "vuex";
const userStore = createStore({
  state: {
    token: "",
    count: 0,
  },
  mutations: {
    setToken: function (state, token) {
      state.token = token;
      state.count++;
    },
  },
});
export default userStore;
